package cn.school.classManage.service;

import cn.school.classManage.entity.ClassCurriculumMain;
import cn.school.classManage.vo.ClassCurriculumMainVO;
import cn.school.common.api.CommonResult;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.io.IOException;
import java.io.InputStream;

public interface ClassCurriculumMainService {

    /**
     * 分页查询课程信息
     * @param vo
     * @return
     */
    IPage<ClassCurriculumMainVO> findCurriculumPageList(ClassCurriculumMainVO vo);

    /**
     * 新增or修改班级课程信息
     * @param vo
     * @return
     */
    Integer addOrUpdateCurriculum(ClassCurriculumMain vo);



    Integer addAllUser(ClassCurriculumMain vo);


    /**
     * 删除班级课程信息
     * @param vo
     * @return
     */
    Integer deleteCurriculum(ClassCurriculumMain vo);

    /**
     * 查询详情
     * @param vo
     * @return
     */
    ClassCurriculumMain findDetail(ClassCurriculumMainVO vo);
    /**
     * 查询个人课表
     */

    ClassCurriculumMain findDetailss(ClassCurriculumMainVO vo);

    /**
     * 导入班级课表
     * @param inputStream
     * @return
     */
    CommonResult importCurriculumExcel(InputStream inputStream) throws IOException;

    /**
     * 查询学生课表详情
     * @param vo
     * @return
     */
    ClassCurriculumMainVO findStudentCurriculumDetail(ClassCurriculumMainVO vo);


}
